projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58c2bea
)
compare-render: Assert that no error has been set
author
Timm Bäder
<mail@baedert.org>
Sat, 23 Feb 2019 06:57:12 +0000
(07:57 +0100)
committer
Timm Bäder
<mail@baedert.org>
Mon, 25 Feb 2019 07:37:06 +0000
(08:37 +0100)
Much better error message than just the one from the node != NULL
assertion in the next line.
testsuite/gsk/compare-render.c
patch
|
blob
|
history
diff --git
a/testsuite/gsk/compare-render.c
b/testsuite/gsk/compare-render.c
index 01b26c9bf202ea7c4e057c46891fa1623a9f89fd..5081daac2300875d047f05e120ec1f117bb644d0 100644
(file)
--- a/
testsuite/gsk/compare-render.c
+++ b/
testsuite/gsk/compare-render.c
@@
-104,6
+104,7
@@
main (int argc, char **argv)
node = gsk_render_node_deserialize (bytes, &error);
g_bytes_unref (bytes);
+ g_assert_no_error (error);
g_assert (node != NULL);
}